package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.ibatis.type.Alias;

import javax.persistence.*;
import java.util.Date;

@Data
@Alias(value = "dmcFollowDataEcg")
@EqualsAndHashCode(callSuper = true)
@Table(name = "cn_dmc_follow_data_ecg")
public class DmcFollowDataEcg extends BaseEntity {

    private static final long serialVersionUID = -5179670742734231978L;

    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 老人Id
     */
    @Column(name = "oldman_id")
    private Integer oldmanId;

    /**
     * 老人姓名
     */
    @Column(name = "oldman_name")
    private String oldmanName;

    /**
     * pr最小值
     */
    @Column(name = "pr_min")
    private String prMin;

    /**
     * pr最大值
     */
    @Column(name = "pr_max")
    private String prMax;

    /**
     * 心情指数
     */
    private String mood;

    /**
     * 心率变异性
     */
    private String hrv;

    /**
     * 心电值
     */
    private String ecg;

    /**
     * 增益
     */
    private String gain;

}